package com.qqt.csr.web.vo.req;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.qqt.csr.common.idempotent.RequestKeyParam;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "AcceptingConversationReqVO", description = "访客接入会话请求参数")
public class AcceptingConversationReqVO implements Serializable {
    @Serial
    private static final long serialVersionUID = -9040054582766981678L;

    @Schema(description = "租户id", hidden = true)
    private String tenantId;

    @Schema(description = "渠道用户id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "渠道用户id不能为空")
    @RequestKeyParam
    private String channelUserId;

    @Schema(description = "渠道id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "渠道id不能为空")
    @RequestKeyParam
    private String channelId;
}
